package com.jintian.smart.base.api.oa.form;

import com.jintian.smart.kernel.core.domain.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDate;

/**
 * OA办公-OA银行信息查询
 */
@Data
public class BankQueryForm extends PageRequest {
    @Schema(description = "企业ID")
    private Long enterpriseId;

    @Schema(description = "关键字")
    @Length(max = 200, message = "关键字最多200字符")
    private String keywords;

    @Schema(description = "开始时间")
    private LocalDate startTime;

    @Schema(description = "结束时间")
    private LocalDate endTime;

    @Schema(description = "禁用状态")
    private Integer disabledFlag;

    @Schema(description = "删除状态", hidden = true)
    private Integer deletedFlag;
}
